package com.jiawei.note;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

import com.jiawei.note.base.BaseActivity;
import com.jiawei.note.databinding.ActivityMainBinding;
import com.jiawei.note.entity.TypeEntity;

import java.util.ArrayList;

public class MainActivity extends BaseActivity<ActivityMainBinding> {


    @Override
    protected void iniView() {
        ArrayList<TypeEntity> list = new ArrayList<>();
        list.add(new TypeEntity("全部"));
        list.add(new TypeEntity("健身"));
        list.add(new TypeEntity("生活"));
        binding.titleBar.setList(list);
    }


    @Override
    public int getLayout() {
        return R.layout.activity_main;
    }

    @Override
    public void initData() {

    }

    @Override
    public void initListener() {

    }
}